package edu.tsinghua.oxy.common.constant;

/**
 * 队列标识常量
 *
 * @author sean
 * @date 2021 - 07 - 29 下午12:33
 */
public class SpiderConstants {


    /**
     * 域名的Key
     */
    public static final String SPIDER_WEBSITE_DOMAINS_KEY = "spider:website.domains";

    /**
     * 种子URL的Key
     */
    public static final String SPIDER_SEED_URLS_KEY = "spider:seed.urls";


    /**
     * 高优先级队列后缀
     */
    public static final String SPIDER_DOMAIN_HIGHER_SUFFIX = ":higher";

    /**
     * 低优先级队列后缀
     */
    public static final String SPIDER_DOMAIN_LOWER_SUFFIX = ":lower";

    /**
     * 处理异常的高优先级队列后缀
     */
    public static final String SPIDER_DOMAIN_HIGHER_ERROR_SUFFIX = ":higher:errors";

    /**
     * 处理异常的低优先级队列后缀
     */
    public static final String SPIDER_DOMAIN_LOWER_ERROR_SUFFIX = ":lower:errors";

    /**
     * 页码后缀
     */
    public static final String SPIDER_DOMAIN_PAGE_SUFFIX = ":page";


}
